#define nav()
<div>
    <div class="layui-nav">
        <div class="layui-nav-item"><a href="/data">显示表单</a></div>
        <div class="layui-nav-item"><a href="/_view/data/add.html">创建用户</a></div>
        <div class="layui-nav-item-right">
            <form action="/data/search" method="post">
                <label for="search">搜索用户：</label>
                <input id="search" type="text" name="search" class="layui-input-inline" style="height: 25px">
                <input type="submit" value="搜索" class="layui-btn layui-btn-small">
            </form>
        </div>
    </div>
</div>

<script>
    layui.use('element', function () {
        var element = layui.element();
    });
</script>
#end